package ren.xxpure.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("User")
public class User implements Serializable {
	private String id;

	@ApiModelProperty(hidden = true)
	private String userName;
	private String password;
	private String email;
}
